home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8842 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.primenet.com!not-for-mail
  2. From: kj7bg@primenet.com (Bob White)
  3. Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c
  4. Subject: Re: How do I link a library to my program??
  5. Date: 6 Mar 1996 10:50:01 -0700
  6. Organization: Primenet Services for the Internet
  7. Sender: root@primenet.com
  8. Message-ID: <4hkj89$iql@nnrp1.news.primenet.com>
  9. References: <313d3c58.4431866@news.csus.edu>
  10. X-Posted-By: ip193.boi.primenet.com
  11. X-Newsreader: WinVN 0.99.7
  12. MIME-Version: 1.0
  13. Content-Type: Text/Plain; charset=US-ASCII
  14.  
  15. Add the library name such as "xyz.lib" to the project list.  Also, make sure 
  16. that the link search path (directory) points to where the library is located.
  17. Hope that helps.
  18.  
  19. In article <313d3c58.4431866@news.csus.edu>, wleong@sfsu.edu says...
  20. >
  21. >Hi,
  22. >     I just started to learn progarmming in windows and I ran into a
  23. >problem immediately.
  24. >    I have been given a library file (winsock.lib) which contains
  25. >routines that I need to use in my program. But even if I include it
  26. >in my project file, linker still couldn't find the routines in the
  27. >lib. Somehow I am under the impression that I need to call certain
  28. >functions in my progam in order to load the library into the module.
  29. >
  30. >  Please help. Your response is greatly appreciated!
  31.  
  32.